package com.cloud.wms.ui.sort.entity;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * @Author： Chen
 * @Date： 2020/3/17
 * @Desc：
 */
public class DetachBoxBean implements Parcelable {
    private long containerID;
    private String containerCode;
    private int containerType;
    private long orderID;

    public long getContainerID() {
        return containerID;
    }

    public void setContainerID(long containerID) {
        this.containerID = containerID;
    }

    public String getContainerCode() {
        return containerCode;
    }

    public void setContainerCode(String containerCode) {
        this.containerCode = containerCode;
    }

    public int getContainerType() {
        return containerType;
    }

    public void setContainerType(int containerType) {
        this.containerType = containerType;
    }

    public long getOrderID() {
        return orderID;
    }

    public void setOrderID(long orderID) {
        this.orderID = orderID;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeLong(this.containerID);
        dest.writeString(this.containerCode);
        dest.writeInt(this.containerType);
        dest.writeLong(this.orderID);
    }

    public DetachBoxBean() {
    }

    protected DetachBoxBean(Parcel in) {
        this.containerID = in.readLong();
        this.containerCode = in.readString();
        this.containerType = in.readInt();
        this.orderID = in.readLong();
    }

    public static final Creator<DetachBoxBean> CREATOR = new Creator<DetachBoxBean>() {
        @Override
        public DetachBoxBean createFromParcel(Parcel source) {
            return new DetachBoxBean(source);
        }

        @Override
        public DetachBoxBean[] newArray(int size) {
            return new DetachBoxBean[size];
        }
    };
}
